Adwaita: proper backdrop state for gtkcalendar header
authorLapo Calamandrei <calamandrei@gmail.com>
Wed, 2 Jul 2014 13:45:43 +0000 (15:45 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Wed, 2 Jul 2014 13:45:43 +0000 (15:45 +0200)
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index 1fcf87840e2f8701f9c4adf94d6b111f8d64a9fb..4c468533780345ce4331476671b1946583ddb28d 100644 (file)
@@ -1770,6 +1770,10 @@ GtkCalendar {
                                 lighten($bg_color,2%),
                                 darken($bg_color,2%));
     border-bottom-color: mix($borders_color,$bg_color,50%);
+    &:backdrop { 
+      background-image: linear-gradient(to bottom, $backdrop_bg_color); 
+      border-bottom-color: mix($backdrop_borders_color,$backdrop_bg_color,50%);
+    }
   }
 }
 
index 68c4b632ce7f5cb7b794f2d61b099abde3d84964..e647124b6ac3f43aece5f8d9e2651053ac02400a 100644 (file)
@@ -2345,6 +2345,9 @@ GtkCalendar {
   GtkCalendar.header {
     background: linear-gradient(to bottom, #3e4444, #343a3a);
     border-bottom-color: #2a2f2f; }
+    GtkCalendar.header:backdrop {
+      background-image: linear-gradient(to bottom, #393f3f);
+      border-bottom-color: #2b3030; }
 
 /***********
  * Dialogs *
index 86c8e8e8adb78e5fc17e7af864a4add215ee8e64..e1b1dce867d117c174fd83d38d0b16c6af224c99 100644 (file)
@@ -2343,6 +2343,9 @@ GtkCalendar {
   GtkCalendar.header {
     background: linear-gradient(to bottom, #f2f2f2, #e8e8e8);
     border-bottom-color: #c7c7c7; }
+    GtkCalendar.header:backdrop {
+      background-image: linear-gradient(to bottom, #ededed);
+      border-bottom-color: #cacaca; }
 
 /***********
  * Dialogs *